<?php
return [
    'id' => 'assignment-form',
    'template' => 'form_default',
    'enableClientValidation' => false,
    'enableAjaxValidation' => true,
    'options' => ['class' => 'form-validate'],
    'models' => [
        'assignment' => [
            'title' => '销售分派',
            'th_with' => 80,
            'elements' => [
                'salesman_id' => [
                    'type' => 'dropdownlist',
                    'option'=>[
                        'encode'=>false,
                        'style'=>'width:170px',
                        'prompt' => '请选择销售跟进负责人'
                    ]
                ],
                'is_assign' => [
                    'type' => 'radiolist',
                    'items' => [
                        '0' => '否',
                        '1' => '是',
                    ],
                ],
            ],
        ]
    ]
];
